class LiveListModel {
  int id;
  int aid;
  String name;
  String cover;
  int status;
  String createTime;
  String endTime;
  String memberNickname;
  String memberToken;
  String memberHead;

  LiveListModel(
      {this.id,
      this.aid,
      this.name,
      this.cover,
      this.status,
      this.createTime,
      this.endTime,
      this.memberNickname,
      this.memberToken,
      this.memberHead});

  LiveListModel.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    aid = json['aid'];
    name = json['name'];
    cover = json['cover'];
    status = json['status'];
    createTime = json['create_time'];
    endTime = json['end_time'];
    memberNickname = json['member_nickname'];
    memberToken = json['member_token'];
    memberHead = json['member_head'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['aid'] = this.aid;
    data['name'] = this.name;
    data['cover'] = this.cover;
    data['status'] = this.status;
    data['create_time'] = this.createTime;
    data['end_time'] = this.endTime;
    data['member_nickname'] = this.memberNickname;
    data['member_token'] = this.memberToken;
    data['member_head'] = this.memberHead;
    return data;
  }
}
